package xsis.music.service.impl;

import java.io.IOException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import xsis.music.dao.AuthDao;
import xsis.music.model.AuthModel;
import xsis.music.service.AuthService;

@Service
public class AuthServiceImpl implements AuthService{
	@Autowired
	private AuthDao authDao;
	
	@Override
	@Transactional
	public void insert(AuthModel auth) throws IOException{
		authDao.insert(auth);
	}
}
